package com.exam.role.model;

import java.util.Date;

import com.exam.itempool.model.Exam;
import com.exam.itempool.model.Examinee;

/**
 * Grade entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Grade implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Exam exam;
	private Teacher teacher;
	private Examinee examinee;
	private String flag;
	private Date createtime;
	private Float qsoSore;
	private Float qsmScore;
	private Float qoScore;
	private Float qjScore;
	private Float qwiScore;
	private Float score;
	private String ispassed;

	// Constructors

	/** default constructor */
	public Grade()
	{
	}

	/** minimal constructor */
	public Grade(Exam exam, Teacher teacher, Examinee examinee, String flag)
	{
		this.exam = exam;
		this.teacher = teacher;
		this.examinee = examinee;
		this.flag = flag;
	}

	/** full constructor */
	public Grade(Exam exam, Teacher teacher, Examinee examinee, String flag, Date createtime, Float qsoSore, Float qsmScore, Float qoScore, Float qjScore, Float qwiScore, Float score, String ispassed)
	{
		this.exam = exam;
		this.teacher = teacher;
		this.examinee = examinee;
		this.flag = flag;
		this.createtime = createtime;
		this.qsoSore = qsoSore;
		this.qsmScore = qsmScore;
		this.qoScore = qoScore;
		this.qjScore = qjScore;
		this.qwiScore = qwiScore;
		this.score = score;
		this.ispassed = ispassed;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Exam getExam()
	{
		return this.exam;
	}

	public void setExam(Exam exam)
	{
		this.exam = exam;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public Examinee getExaminee()
	{
		return this.examinee;
	}

	public void setExaminee(Examinee examinee)
	{
		this.examinee = examinee;
	}

	public String getFlag()
	{
		return this.flag;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	public Date getCreatetime()
	{
		return this.createtime;
	}

	public void setCreatetime(Date createtime)
	{
		this.createtime = createtime;
	}

	public Float getQsoSore()
	{
		return this.qsoSore;
	}

	public void setQsoSore(Float qsoSore)
	{
		this.qsoSore = qsoSore;
	}

	public Float getQsmScore()
	{
		return this.qsmScore;
	}

	public void setQsmScore(Float qsmScore)
	{
		this.qsmScore = qsmScore;
	}

	public Float getQoScore()
	{
		return this.qoScore;
	}

	public void setQoScore(Float qoScore)
	{
		this.qoScore = qoScore;
	}

	public Float getQjScore()
	{
		return this.qjScore;
	}

	public void setQjScore(Float qjScore)
	{
		this.qjScore = qjScore;
	}

	public Float getQwiScore()
	{
		return this.qwiScore;
	}

	public void setQwiScore(Float qwiScore)
	{
		this.qwiScore = qwiScore;
	}

	public Float getScore()
	{
		return this.score;
	}

	public void setScore(Float score)
	{
		this.score = score;
	}

	public String getIspassed()
	{
		return this.ispassed;
	}

	public void setIspassed(String ispassed)
	{
		this.ispassed = ispassed;
	}

}